---
title: CustomTaskPane.DockPosition Property (Office)
keywords: vbaof11.chm301008
f1_keywords:
- vbaof11.chm301008
ms.prod: office
api_name:
- Office.CustomTaskPane.DockPosition
ms.assetid: 591c3f81-545f-6b04-7c4c-a3a85946e161
ms.date: 06/08/2017
---


# CustomTaskPane.DockPosition Property (Office)

Gets or sets an enumerated value specifying the docked position of a  **CustomTaskPane** object. Read/write.


## Syntax

 _expression_. **DockPosition**

 _expression_ An expression that returns a **CustomTaskPane** object.


### Return Value

MsoCTPDockPosition


## Remarks

Defaults to  **Right** for Right-to-Left languages and **Left** for Left-toRight languages.

The value of this property can be set to one of the following  **MsoCTPDockPosition** constants.


## See also


#### Concepts


[CustomTaskPane Object](customtaskpane-object-office.md)
#### Other resources


[CustomTaskPane Object Members](customtaskpane-members-office.md)

